import request from '@/request/index.js';

/**
 * 查询列表
 */
export const adviseList = (params) => {
	return request.get({
		url: '/extBiz/advise/list',
		data: params,
	});
};
/**
 * 详情
 */
export const adviseGetInfo = (params) => {
	return request.get({
		url: '/extBiz/advise/getInfo',
		data: params,
	});
};
/**
 * 添加
 */
export const adviseAdd = (params) => {
	return request.post({
		url: '/extBiz/advise/add',
		data: params,
	});
};
/**
 * 修改
 */
export const adviseEdit = (params) => {
	return request.post({
		url: '/extBiz/advise/edit',
		data: params,
	});
};
/**
 * 删除
 */
export const adviseRemove = (params) => {
	return request.post({
		url: '/extBiz/advise/remove',
		data: params,
	});
};